package com.beans;
import java.math.BigDecimal;
import java.util.Date;

public class ProductBean {
    private Long sid;
    private String productCode;
    private String productName;
    private Short productType ;//1航段产品 2流量产品
    private String instructions;
    private Long traffic; //流量字节
    private Integer trafficSize; //流量值
    private String trafficUnit; //流量单位
    private BigDecimal charge;
    private BigDecimal salePrice; //优惠价格

    private String chargeInstructions;
    private Integer upBrandWidth ;
    private String upUnit; //上行带宽单位
    private Integer downBrandWidth ;
    private String downUnit; //下行带宽单位

    private Integer status;//审核状态
    private String checkInstructions;
    private Integer validType;//有效期类型 0 永久 1 有效期
    private Integer validTime;//有效期
    private String validUnit; //有效期单位
    private String picture;
    private String airlinesCode;


    private Date createdAt;
    private Date updatedAt;


    public Long getSid() {
        return sid;
    }

    public void setSid(Long sid) {
        this.sid = sid;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Short getProductType() {
        return productType;
    }

    public void setProductType(Short productType) {
        this.productType = productType;
    }

    public String getInstructions() {
        return instructions;
    }

    public void setInstructions(String instructions) {
        this.instructions = instructions;
    }

    public Long getTraffic() {
        return traffic;
    }

    public void setTraffic(Long traffic) {
        this.traffic = traffic;
    }

    public Integer getTrafficSize() {
        return trafficSize;
    }

    public void setTrafficSize(Integer trafficSize) {
        this.trafficSize = trafficSize;
    }

    public String getTrafficUnit() {
        return trafficUnit;
    }

    public void setTrafficUnit(String trafficUnit) {
        this.trafficUnit = trafficUnit;
    }

    public BigDecimal getCharge() {
        return charge;
    }

    public void setCharge(BigDecimal charge) {
        this.charge = charge;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }


    public String getChargeInstructions() {
        return chargeInstructions;
    }

    public void setChargeInstructions(String chargeInstructions) {
        this.chargeInstructions = chargeInstructions;
    }

    public Integer getUpBrandWidth() {
        return upBrandWidth;
    }

    public void setUpBrandWidth(Integer upBrandWidth) {
        this.upBrandWidth = upBrandWidth;
    }

    public String getUpUnit() {
        return upUnit;
    }

    public void setUpUnit(String upUnit) {
        this.upUnit = upUnit;
    }

    public Integer getDownBrandWidth() {
        return downBrandWidth;
    }

    public void setDownBrandWidth(Integer downBrandWidth) {
        this.downBrandWidth = downBrandWidth;
    }

    public String getDownUnit() {
        return downUnit;
    }

    public void setDownUnit(String downUnit) {
        this.downUnit = downUnit;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCheckInstructions() {
        return checkInstructions;
    }

    public void setCheckInstructions(String checkInstructions) {
        this.checkInstructions = checkInstructions;
    }

    public Integer getValidType() {
        return validType;
    }

    public void setValidType(Integer validType) {
        this.validType = validType;
    }

    public Integer getValidTime() {
        return validTime;
    }

    public void setValidTime(Integer validTime) {
        this.validTime = validTime;
    }

    public String getValidUnit() {
        return validUnit;
    }

    public void setValidUnit(String validUnit) {
        this.validUnit = validUnit;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getAirlinesCode() {
        return airlinesCode;
    }

    public void setAirlinesCode(String airlinesCode) {
        this.airlinesCode = airlinesCode;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    @Override
    public String toString() {
        return "ProductBean{" +
                "sid=" + sid +
                ", productCode='" + productCode + '\'' +
                ", productName='" + productName + '\'' +
                ", productType=" + productType +
                ", instructions='" + instructions + '\'' +
                ", traffic=" + traffic +
                ", trafficSize=" + trafficSize +
                ", trafficUnit='" + trafficUnit + '\'' +
                ", charge=" + charge +
                ", salePrice=" + salePrice +
                ", chargeInstructions='" + chargeInstructions + '\'' +
                ", upBrandWidth=" + upBrandWidth +
                ", upUnit='" + upUnit + '\'' +
                ", downBrandWidth=" + downBrandWidth +
                ", downUnit='" + downUnit + '\'' +
                ", status=" + status +
                ", checkInstructions='" + checkInstructions + '\'' +
                ", validType=" + validType +
                ", validTime=" + validTime +
                ", validUnit='" + validUnit + '\'' +
                ", picture='" + picture + '\'' +
                ", airlinesCode='" + airlinesCode + '\'' +
                ", createdAt=" + createdAt +
                ", updatedAt=" + updatedAt +
                '}';
    }
}



